﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HeadFirst._04.Factory.Subs
{
    public class ChicagoPizzaStore : PizzaStore
    {
        internal override Pizza CreatePizza(string type)
        {
            if (type == "cheese")
                return new ChicagoStypeCheesePizza();
            return null;
        }
    }
}
